package com.dong.payment;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;

/**
 * @author DJ
 * @description EnableDiscoveryClient 该注解用于向使用consual或者zookeeper作为注册中心时注册服务
 * @date 2022/1/2 2:35 下午
 **/
@SpringBootApplication(exclude = {DataSourceAutoConfiguration.class})
@EnableDiscoveryClient
public class Payment9003Application {

    public static void main(String[] args) {
        SpringApplication.run(Payment9003Application.class, args);
    }
}
